/*
 * Copyright (C) 2007 Evan Long    longx223 (at) umn (dot) edu
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.

 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU General Public License for more details.

 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
 */

/**
 * @file   monitor_loop.h
 * @author Evan Long
 * 
 * @brief  Main loop of the program. Reads in images, looks for gestures, and
 * executes commands until the user terminates the program. 
 * 
 * 
 */

#ifndef MONITOR_LOOP_H
#define MONITOR_LOOP_H

/**
 * The possible states that the main monitor loop can be in.
 */
#define RECORD   1
#define MONITOR  2
#define EXIT     3

/**
 * Monitor state type
 */
typedef int monitor_state_t;

/** 
 * Called by the main function with the arguments that will be passed into the
 * VLC instance. The last element in argv will mode that vlc_control_t should
 * be created with. 
 * 
 * @param argc Argument count.
 * @param argv Argument list.
 */
void monitor_loop(int argc, char** argv);

#endif
